package com.test.spring.anno.test.test1.config;

import com.test.spring.anno.domain.Teacher;
import org.springframework.context.annotation.*;

@Configuration
@ComponentScan(value = "com.test.spring.anno.service")
/*@ComponentScan(value = "com.test.spring.anno.service",
		excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class)})*/
public class Configuration1 {

	@Bean
	public Teacher teacher(){
		return new Teacher();
	}

}
